<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::SparseQuantizedMultiModTemplate结构体 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('structpcl_1_1_sparse_quantized_multi_mod_template.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="structpcl_1_1_sparse_quantized_multi_mod_template-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::SparseQuantizedMultiModTemplate结构体 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>A multi-modality template constructed from a set of quantized multi-modality features.  
 <a href="structpcl_1_1_sparse_quantized_multi_mod_template.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="sparse__quantized__multi__mod__template_8h_source.html">sparse_quantized_multi_mod_template.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a9dba07f7d2ebb2bf4c9b99998fd10e89"><td class="memItemLeft" align="right" valign="top"><a id="a9dba07f7d2ebb2bf4c9b99998fd10e89"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpcl_1_1_sparse_quantized_multi_mod_template.html#a9dba07f7d2ebb2bf4c9b99998fd10e89">SparseQuantizedMultiModTemplate</a> ()</td></tr>
<tr class="memdesc:a9dba07f7d2ebb2bf4c9b99998fd10e89"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
<tr class="separator:a9dba07f7d2ebb2bf4c9b99998fd10e89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a939beb748e5332df7b5f0d9dde79a745"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpcl_1_1_sparse_quantized_multi_mod_template.html#a939beb748e5332df7b5f0d9dde79a745">serialize</a> (std::ostream &amp;stream) const</td></tr>
<tr class="memdesc:a939beb748e5332df7b5f0d9dde79a745"><td class="mdescLeft">&#160;</td><td class="mdescRight">Serializes the object to the specified stream.  <a href="structpcl_1_1_sparse_quantized_multi_mod_template.html#a939beb748e5332df7b5f0d9dde79a745">更多...</a><br /></td></tr>
<tr class="separator:a939beb748e5332df7b5f0d9dde79a745"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89bbed40834ebdf5bfdd9e718746ed7b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpcl_1_1_sparse_quantized_multi_mod_template.html#a89bbed40834ebdf5bfdd9e718746ed7b">deserialize</a> (std::istream &amp;stream)</td></tr>
<tr class="memdesc:a89bbed40834ebdf5bfdd9e718746ed7b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deserializes the object from the specified stream.  <a href="structpcl_1_1_sparse_quantized_multi_mod_template.html#a89bbed40834ebdf5bfdd9e718746ed7b">更多...</a><br /></td></tr>
<tr class="separator:a89bbed40834ebdf5bfdd9e718746ed7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:aef10301bcbe5ed5ec90aa8f6de647a09"><td class="memItemLeft" align="right" valign="top"><a id="aef10301bcbe5ed5ec90aa8f6de647a09"></a>
std::vector&lt; <a class="el" href="structpcl_1_1_quantized_multi_mod_feature.html">QuantizedMultiModFeature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpcl_1_1_sparse_quantized_multi_mod_template.html#aef10301bcbe5ed5ec90aa8f6de647a09">features</a></td></tr>
<tr class="memdesc:aef10301bcbe5ed5ec90aa8f6de647a09"><td class="mdescLeft">&#160;</td><td class="mdescRight">The storage for the multi-modality features. <br /></td></tr>
<tr class="separator:aef10301bcbe5ed5ec90aa8f6de647a09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a92c3494f0dfad67da6bb001c3bc63c"><td class="memItemLeft" align="right" valign="top"><a id="a7a92c3494f0dfad67da6bb001c3bc63c"></a>
<a class="el" href="structpcl_1_1_region_x_y.html">RegionXY</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpcl_1_1_sparse_quantized_multi_mod_template.html#a7a92c3494f0dfad67da6bb001c3bc63c">region</a></td></tr>
<tr class="memdesc:a7a92c3494f0dfad67da6bb001c3bc63c"><td class="mdescLeft">&#160;</td><td class="mdescRight">The region assigned to the template. <br /></td></tr>
<tr class="separator:a7a92c3494f0dfad67da6bb001c3bc63c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>A multi-modality template constructed from a set of quantized multi-modality features. </p>
<dl class="section author"><dt>作者</dt><dd>Stefan Holzer </dd></dl>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a89bbed40834ebdf5bfdd9e718746ed7b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a89bbed40834ebdf5bfdd9e718746ed7b">&#9670;&nbsp;</a></span>deserialize()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::SparseQuantizedMultiModTemplate::deserialize </td>
          <td>(</td>
          <td class="paramtype">std::istream &amp;&#160;</td>
          <td class="paramname"><em>stream</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Deserializes the object from the specified stream. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">stream</td><td>the stream the object will be deserialized from. </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;    {</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;      <a class="code" href="structpcl_1_1_sparse_quantized_multi_mod_template.html#aef10301bcbe5ed5ec90aa8f6de647a09">features</a>.clear ();</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160; </div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;      <span class="keywordtype">int</span> num_of_features;</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;      read (stream, num_of_features);</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;      <a class="code" href="structpcl_1_1_sparse_quantized_multi_mod_template.html#aef10301bcbe5ed5ec90aa8f6de647a09">features</a>.resize (num_of_features);</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;      <span class="keywordflow">for</span> (<span class="keywordtype">int</span> feature_index = 0; feature_index &lt; num_of_features; ++feature_index)</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;      {</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;        <a class="code" href="structpcl_1_1_sparse_quantized_multi_mod_template.html#aef10301bcbe5ed5ec90aa8f6de647a09">features</a>[feature_index].deserialize (stream);</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;      }</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160; </div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;      <a class="code" href="structpcl_1_1_sparse_quantized_multi_mod_template.html#a7a92c3494f0dfad67da6bb001c3bc63c">region</a>.<a class="code" href="structpcl_1_1_region_x_y.html#a186945666a5e5b80b58433b76ae6cb82">deserialize</a> (stream);</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;    }</div>
<div class="ttc" id="astructpcl_1_1_region_x_y_html_a186945666a5e5b80b58433b76ae6cb82"><div class="ttname"><a href="structpcl_1_1_region_x_y.html#a186945666a5e5b80b58433b76ae6cb82">pcl::RegionXY::deserialize</a></div><div class="ttdeci">void deserialize(::std::istream &amp;stream)</div><div class="ttdoc">Deserializes the object from the specified stream.</div><div class="ttdef"><b>Definition:</b> region_xy.h:110</div></div>
<div class="ttc" id="astructpcl_1_1_sparse_quantized_multi_mod_template_html_a7a92c3494f0dfad67da6bb001c3bc63c"><div class="ttname"><a href="structpcl_1_1_sparse_quantized_multi_mod_template.html#a7a92c3494f0dfad67da6bb001c3bc63c">pcl::SparseQuantizedMultiModTemplate::region</a></div><div class="ttdeci">RegionXY region</div><div class="ttdoc">The region assigned to the template.</div><div class="ttdef"><b>Definition:</b> sparse_quantized_multi_mod_template.h:118</div></div>
<div class="ttc" id="astructpcl_1_1_sparse_quantized_multi_mod_template_html_aef10301bcbe5ed5ec90aa8f6de647a09"><div class="ttname"><a href="structpcl_1_1_sparse_quantized_multi_mod_template.html#aef10301bcbe5ed5ec90aa8f6de647a09">pcl::SparseQuantizedMultiModTemplate::features</a></div><div class="ttdeci">std::vector&lt; QuantizedMultiModFeature &gt; features</div><div class="ttdoc">The storage for the multi-modality features.</div><div class="ttdef"><b>Definition:</b> sparse_quantized_multi_mod_template.h:115</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="a939beb748e5332df7b5f0d9dde79a745"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a939beb748e5332df7b5f0d9dde79a745">&#9670;&nbsp;</a></span>serialize()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::SparseQuantizedMultiModTemplate::serialize </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>stream</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Serializes the object to the specified stream. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">stream</td><td>the stream the object will be serialized to. </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    {</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;      <span class="keyword">const</span> <span class="keywordtype">int</span> num_of_features = <span class="keyword">static_cast&lt;</span><span class="keywordtype">int</span><span class="keyword">&gt;</span> (<a class="code" href="structpcl_1_1_sparse_quantized_multi_mod_template.html#aef10301bcbe5ed5ec90aa8f6de647a09">features</a>.size ());</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;      write (stream, num_of_features);</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;      <span class="keywordflow">for</span> (<span class="keywordtype">int</span> feature_index = 0; feature_index &lt; num_of_features; ++feature_index)</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;      {</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;        <a class="code" href="structpcl_1_1_sparse_quantized_multi_mod_template.html#aef10301bcbe5ed5ec90aa8f6de647a09">features</a>[feature_index].serialize (stream);</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;      }</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160; </div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;      <a class="code" href="structpcl_1_1_sparse_quantized_multi_mod_template.html#a7a92c3494f0dfad67da6bb001c3bc63c">region</a>.<a class="code" href="structpcl_1_1_region_x_y.html#a5ce560db3a73882a0dcb6f806b59ddd5">serialize</a> (stream);</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;    }</div>
<div class="ttc" id="astructpcl_1_1_region_x_y_html_a5ce560db3a73882a0dcb6f806b59ddd5"><div class="ttname"><a href="structpcl_1_1_region_x_y.html#a5ce560db3a73882a0dcb6f806b59ddd5">pcl::RegionXY::serialize</a></div><div class="ttdeci">void serialize(std::ostream &amp;stream) const</div><div class="ttdoc">Serializes the object to the specified stream.</div><div class="ttdef"><b>Definition:</b> region_xy.h:99</div></div>
</div><!-- fragment -->
</div>
</div>
<hr/>该结构体的文档由以下文件生成:<ul>
<li>recognition/include/pcl/recognition/<a class="el" href="sparse__quantized__multi__mod__template_8h_source.html">sparse_quantized_multi_mod_template.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><a class="el" href="structpcl_1_1_sparse_quantized_multi_mod_template.html">SparseQuantizedMultiModTemplate</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
